<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!-- <script type="text/javascript">
        function fun(flag) {
            var sels=document.getElementsByName("ck");
            for (let i = 0; i < sels.length; i++) {
                sels[i].checked=flag;         
            }
         
        }
    </script> -->
   
    <title>自定义列表</title>
</head>

<body>











<!-- <form name="myform">
请选择你喜欢的咖啡品牌：<br>
<input type="checkbox" name="=ck" value="0">雀巢 
<input type="checkbox" name="=ck" value="1">麦斯威尔 
<input type="checkbox" name="=ck" value="2">摩卡<br>

<input type="button" value="全部选中" onclick="fun(true)">&nbsp;&nbsp;
<input type="button" value="全部不选中" onclick="fun(false)"> -->



</form>   
    
</body>
</html>